Error when creating a link

I have a script that creates a link between two objects from different modules.

In the beggining of the script I check if the default Link Module exists in the same folder as the source module:

Module linkMod = read(path, false)
if(null linkMod){
        linkMod = create(path, "", manyToMany, false)
}

and I just create a link by using:

srcObj -> destObj

but some times I am getting the error DXL cannot load module 'DOORS Links'.

It only happens some times and I can't figure out why this is happening. It is weird because even when this happens I can go to the folder and see that the Link Module is there and I can manually open it.

I have noticed it usually happens the first time you run the script when you turn the PC On and open DOORS, then it gets stable for a long time and occasionally it will happen again during the day.

Can someone please help me?


camba - Thu Mar 09 05:45:32 EST 2017

Re: Error when creating a link
VijayAnne - Thu Mar 09 10:07:54 EST 2017

Hello Camba,

Have you tried checking the link-sets manually, if they are created to correct link module and the corresponding module.

 

Regards,

 

Vijay